import { useResponseSuccess } from '~/utils/response';

export default eventHandler(() => {
  const overview = {
    totalResources: 1256,
    activeResources: 1189,
    todaySchedules: 89,
    conflicts: 3,
    utilizationRate: 85.6,
    costEfficiency: 92.3,
    maintenanceCount: 12,
    lowStockCount: 8,
    currentOccupancy: 67.8,
    todayRevenue: 15_680.5,
    pendingSettlement: 2340.2,
    activeUsers: 156,
    roles: 24,
    todayOperations: 892,
    securityEvents: 2,
    avgOccupancyRate: 78.5,
    avgCost: 156.8,
    faultRate: 2.1,
    efficiencyIndex: 88.9,
  };

  return useResponseSuccess(overview);
});
